/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.spareparts.material.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.common.utils.StringUtils;
import com.jeeplus.modules.spareparts.material.entity.SparepartsOutLibraryRegistration;
import com.jeeplus.modules.spareparts.material.mapper.SparepartsOutLibraryRegistrationMapper;

/**
 * 出库单登记流程Service
 * @author 刘明星
 * @version 2020-10-16
 */
@Service
@Transactional(readOnly = true)
public class SparepartsOutLibraryRegistrationService extends CrudService<SparepartsOutLibraryRegistrationMapper, SparepartsOutLibraryRegistration> {


	public SparepartsOutLibraryRegistration get(String id) {
		SparepartsOutLibraryRegistration sparepartsOutLibraryRegistration = super.get(id);
		return sparepartsOutLibraryRegistration;
	}

	public List<SparepartsOutLibraryRegistration> findList(SparepartsOutLibraryRegistration sparepartsOutLibraryRegistration) {
		return super.findList(sparepartsOutLibraryRegistration);
	}

	public Page<SparepartsOutLibraryRegistration> findPage(Page<SparepartsOutLibraryRegistration> page, SparepartsOutLibraryRegistration sparepartsOutLibraryRegistration) {
		return super.findPage(page, sparepartsOutLibraryRegistration);
	}

	@Transactional(readOnly = false)
	public void save(SparepartsOutLibraryRegistration sparepartsOutLibraryRegistration) {
		super.save(sparepartsOutLibraryRegistration);
	}

	@Transactional(readOnly = false)
	public void delete(SparepartsOutLibraryRegistration sparepartsOutLibraryRegistration) {
		super.delete(sparepartsOutLibraryRegistration);
	}

}